<%@ page import="org.shunfeng.pojo.SysUser" %>
<%@ page import="javafx.application.Application" %><%--
  Created by IntelliJ IDEA.
  User: xueya
  Date: 2025/8/12
  Time: 21:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--测试jsp--%>
<%
    String name = "zs";
    request.setAttribute("name",name);
    String[] arry = {"zs","ls","ww"};
    request.setAttribute("arry",arry);
    SysUser user = new SysUser();
    user.setId(1);
    user.setUsername("zl");
    request.setAttribute("user",user);
    request.setAttribute("name1", "zs");
    session.setAttribute("name2", "ls");
    application.setAttribute("name3", "ww");
%>
<h1>111---${name}</h1>
<h1>222---${arry[0]}${arry[1]}${arry[2]}</h1>
<h1>333---${user.id}</h1>
<h1>444---${name1}</h1>
<h1>555---${name2}</h1>
<h1>666---${name3}</h1>
</body>
</html>
